exports.queryOrder = function (order_user, order_accept_fields) {
    let order = [];
    for (var tmp_i in order_user) {
        let order_tmp = order_user[tmp_i].split(':');
        if (!order_accept_fields[order_tmp[0]]) {
            throw '非法操作：不允许的排序字段';
        }
        order.push(order_tmp[0] + (order_tmp[1] == undefined ? '' : ' DESC'));
    }
    return order;
};
